package cn.two.model;

/**
 * OaBuy entity. @author MyEclipse Persistence Tools
 */

public class OaBuy implements java.io.Serializable {

	// Fields

	private Integer buyId; //采购ID
	private OaDept oaDept;
	private OaUser oaUser;
	private OaSubmit oaSubmit;
	private String buyName;		//物品名称
	private Integer buyNumber;
	private Double buyPrice;
	private String buyDate;
	private String buyUseDate;
	private String buyUse;

	private Double buyPriceMin;
	private Double buyPriceMax;
	
	private Integer buyNumberMin;
	private Integer buyNumberMax;
	
	private String buyDateMin;
	private String buyDateMax;
	
	private String buyUseDateMin;
	private String buyUseDateMax;
	
	
	// Constructors

	/** default constructor */
	public OaBuy() {
	}

	/** full constructor */
	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate) {
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
	}

	
	
	// Property accessors

	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate,
			String buyUseDate, String buyUse) {
		super();
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
		this.buyUseDate = buyUseDate;
		this.buyUse = buyUse;
	}

	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate,
			String buyUseDate) {
		super();
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
		this.buyUseDate = buyUseDate;
	}

	
	
	
	
	
	
	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate,
			String buyUseDate, String buyUse, Double buyPriceMin,
			Double buyPriceMax) {
		super();
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
		this.buyUseDate = buyUseDate;
		this.buyUse = buyUse;
		this.buyPriceMin = buyPriceMin;
		this.buyPriceMax = buyPriceMax;
	}

	
	

	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate,
			String buyUseDate, String buyUse, Double buyPriceMin,
			Double buyPriceMax, Integer buyNumberMin, Integer buyNumberMax,
			String buyDateMin, String buyDateMax, String buyUseDateMin,
			String buyUseDateMax) {
		super();
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
		this.buyUseDate = buyUseDate;
		this.buyUse = buyUse;
		this.buyPriceMin = buyPriceMin;
		this.buyPriceMax = buyPriceMax;
		this.buyNumberMin = buyNumberMin;
		this.buyNumberMax = buyNumberMax;
		this.buyDateMin = buyDateMin;
		this.buyDateMax = buyDateMax;
		this.buyUseDateMin = buyUseDateMin;
		this.buyUseDateMax = buyUseDateMax;
	}

	public String getBuyDateMin() {
		return buyDateMin;
	}

	public void setBuyDateMin(String buyDateMin) {
		this.buyDateMin = buyDateMin;
	}

	public String getBuyDateMax() {
		return buyDateMax;
	}

	public void setBuyDateMax(String buyDateMax) {
		this.buyDateMax = buyDateMax;
	}

	public String getBuyUseDate() {
		return buyUseDate;
	}

	public void setBuyUseDate(String buyUseDate) {
		this.buyUseDate = buyUseDate;
	}

	public Integer getBuyId() {
		return this.buyId;
	}

	public void setBuyId(Integer buyId) {
		this.buyId = buyId;
	}

	public OaDept getOaDept() {
		return this.oaDept;
	}

	public void setOaDept(OaDept oaDept) {
		this.oaDept = oaDept;
	}

	public OaUser getOaUser() {
		return this.oaUser;
	}

	public void setOaUser(OaUser oaUser) {
		this.oaUser = oaUser;
	}

	public OaSubmit getOaSubmit() {
		return this.oaSubmit;
	}

	public void setOaSubmit(OaSubmit oaSubmit) {
		this.oaSubmit = oaSubmit;
	}

	public String getBuyName() {
		return this.buyName;
	}

	public void setBuyName(String buyName) {
		this.buyName = buyName;
	}

	public Integer getBuyNumber() {
		return this.buyNumber;
	}

	public void setBuyNumber(Integer buyNumber) {
		this.buyNumber = buyNumber;
	}

	public Double getBuyPrice() {
		return this.buyPrice;
	}

	public void setBuyPrice(Double buyPrice) {
		this.buyPrice = buyPrice;
	}

	public String getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(String buyDate) {
		this.buyDate = buyDate;
	}

	public String getBuyUse() {
		return buyUse;
	}

	public void setBuyUse(String buyUse) {
		this.buyUse = buyUse;
	}

	public Double getBuyPriceMin() {
		return buyPriceMin;
	}

	public void setBuyPriceMin(Double buyPriceMin) {
		this.buyPriceMin = buyPriceMin;
	}

	public Double getBuyPriceMax() {
		return buyPriceMax;
	}

	public void setBuyPriceMax(Double buyPriceMax) {
		this.buyPriceMax = buyPriceMax;
	}

	public Integer getBuyNumberMin() {
		return buyNumberMin;
	}

	public void setBuyNumberMin(Integer buyNumberMin) {
		this.buyNumberMin = buyNumberMin;
	}

	public Integer getBuyNumberMax() {
		return buyNumberMax;
	}

	public void setBuyNumberMax(Integer buyNumberMax) {
		this.buyNumberMax = buyNumberMax;
	}


	public String getBuyUseDateMin() {
		return buyUseDateMin;
	}

	public void setBuyUseDateMin(String buyUseDateMin) {
		this.buyUseDateMin = buyUseDateMin;
	}

	public String getBuyUseDateMax() {
		return buyUseDateMax;
	}

	public void setBuyUseDateMax(String buyUseDateMax) {
		this.buyUseDateMax = buyUseDateMax;
	}
	
	
	
	
	
	
	
	

}